Optimal. Leaf size=315 \[ \frac{c (d x)^{m+1} \left (b (2-m) \sqrt{b^2-4 a c}-4 a c (5-m)+b^2 (2-m)\right ) \, _2F_1\left (1,\frac{m+1}{3};\frac{m+4}{3};-\frac{2 c x^3}{b-\sqrt{b^2-4 a c}}\right )}{3 a d (m+1) \left (b^2-4 a c\right )^{3/2} \left (b-\sqrt{b^2-4 a c}\right )}-\frac{c (d x)^{m+1} \left (-b (2-m) \sqrt{b^2-4 a c}-4 a c (5-m)+b^2 (2-m)\right ) \, _2F_1\left (1,\frac{m+1}{3};\frac{m+4}{3};-\frac{2 c x^3}{b+\sqrt{b^2-4 a c}}\right )}{3 a d (m+1) \left (b^2-4 a c\right )^{3/2} \left (\sqrt{b^2-4 a c}+b\right )}+\frac{(d x)^{m+1} \left (-2 a c+b^2+b c x^3\right )}{3 a d \left (b^2-4 a c\right ) \left (a+b x^3+c x^6\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.713023, antiderivative size = 315, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.15, Rules used = {1366, 1510, 364} \[ \frac{c (d x)^{m+1} \left (b (2-m) \sqrt{b^2-4 a c}-4 a c (5-m)+b^2 (2-m)\right ) \, _2F_1\left (1,\frac{m+1}{3};\frac{m+4}{3};-\frac{2 c x^3}{b-\sqrt{b^2-4 a c}}\right )}{3 a d (m+1) \left (b^2-4 a c\right )^{3/2} \left (b-\sqrt{b^2-4 a c}\right )}-\frac{c (d x)^{m+1} \left (-b (2-m) \sqrt{b^2-4 a c}-4 a c (5-m)+b^2 (2-m)\right ) \, _2F_1\left (1,\frac{m+1}{3};\frac{m+4}{3};-\frac{2 c x^3}{b+\sqrt{b^2-4 a c}}\right )}{3 a d (m+1) \left (b^2-4 a c\right )^{3/2} \left (\sqrt{b^2-4 a c}+b\right )}+\frac{(d x)^{m+1} \left (-2 a c+b^2+b c x^3\right )}{3 a d \left (b^2-4 a c\right ) \left (a+b x^3+c x^6\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1366
Rule 1510
Rule 364
Rubi steps
\begin{align*} \int \frac{(d x)^m}{\left (a+b x^3+c x^6\right )^2} \, dx &=\frac{(d x)^{1+m} \left (b^2-2 a c+b c x^3\right )}{3 a \left (b^2-4 a c\right ) d \left (a+b x^3+c x^6\right )}-\frac{\int \frac{(d x)^m \left (-b^2 (2-m)+2 a c (5-m)-b c (2-m) x^3\right )}{a+b x^3+c x^6} \, dx}{3 a \left (b^2-4 a c\right )}\\ &=\frac{(d x)^{1+m} \left (b^2-2 a c+b c x^3\right )}{3 a \left (b^2-4 a c\right ) d \left (a+b x^3+c x^6\right )}-\frac{\left (c \left (b^2 (2-m)-b \sqrt{b^2-4 a c} (2-m)-4 a c (5-m)\right )\right ) \int \frac{(d x)^m}{\frac{b}{2}+\frac{1}{2} \sqrt{b^2-4 a c}+c x^3} \, dx}{6 a \left (b^2-4 a c\right )^{3/2}}+\frac{\left (c \left (b^2 (2-m)+b \sqrt{b^2-4 a c} (2-m)-4 a c (5-m)\right )\right ) \int \frac{(d x)^m}{\frac{b}{2}-\frac{1}{2} \sqrt{b^2-4 a c}+c x^3} \, dx}{6 a \left (b^2-4 a c\right )^{3/2}}\\ &=\frac{(d x)^{1+m} \left (b^2-2 a c+b c x^3\right )}{3 a \left (b^2-4 a c\right ) d \left (a+b x^3+c x^6\right )}+\frac{c \left (b^2 (2-m)+b \sqrt{b^2-4 a c} (2-m)-4 a c (5-m)\right ) (d x)^{1+m} \, _2F_1\left (1,\frac{1+m}{3};\frac{4+m}{3};-\frac{2 c x^3}{b-\sqrt{b^2-4 a c}}\right )}{3 a \left (b^2-4 a c\right )^{3/2} \left (b-\sqrt{b^2-4 a c}\right ) d (1+m)}-\frac{c \left (b^2 (2-m)-b \sqrt{b^2-4 a c} (2-m)-4 a c (5-m)\right ) (d x)^{1+m} \, _2F_1\left (1,\frac{1+m}{3};\frac{4+m}{3};-\frac{2 c x^3}{b+\sqrt{b^2-4 a c}}\right )}{3 a \left (b^2-4 a c\right )^{3/2} \left (b+\sqrt{b^2-4 a c}\right ) d (1+m)}\\ \end{align*}
Mathematica [C] time = 0.0783945, size = 78, normalized size = 0.25 \[ \frac{x (d x)^m F_1\left (\frac{m+1}{3};2,2;\frac{m+4}{3};-\frac{2 c x^3}{b+\sqrt{b^2-4 a c}},\frac{2 c x^3}{\sqrt{b^2-4 a c}-b}\right )}{a^2 (m+1)} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.02, size = 0, normalized size = 0. \begin{align*} \int{\frac{ \left ( dx \right ) ^{m}}{ \left ( c{x}^{6}+b{x}^{3}+a \right ) ^{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (d x\right )^{m}}{{\left (c x^{6} + b x^{3} + a\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\left (d x\right )^{m}}{c^{2} x^{12} + 2 \, b c x^{9} +{\left (b^{2} + 2 \, a c\right )} x^{6} + 2 \, a b x^{3} + a^{2}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (d x\right )^{m}}{{\left (c x^{6} + b x^{3} + a\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]